package com.example.service;

import com.example.pojo.precisionMeasProjectPojo;
import com.example.pojo.precisionMeasResultPojo;

import java.util.List;
import java.util.Map;

/**
 * ClassName:precisionMeasProjectService
 * Description:
 *
 * @Author 赵永峰
 * @Create 2024/12/30 15:31
 * @Version 1.0
 */
public interface precisionMeasProjectService {
    void insertOne(precisionMeasProjectPojo precisionMeasProjectPojo);
    //输入三个字段，进行查询
    List<precisionMeasProjectPojo> inquiryThreeField(Map<String, Object> map);
    //根据id，修改一整行。
    void precisionMeasProjectEditOne(precisionMeasProjectPojo precisionMeasProjectPojo);
    //修改一个字段.依据id
    void precisionMeasProjectEditOneField(Map<String, Object> map);
    //输入四个字段，进行查询
    List<precisionMeasProjectPojo> inquiryFourthField(Map<String, Object> map);
    //一次插入多行数据
    void testValPrecisionMeasProject(List<precisionMeasResultPojo> precisionMeasResultPojos);
    //接收5个参数，查询出检测结果。
    List<precisionMeasResultPojo> precisionMeasProjectValInquiryFiveField(Map<String, Object> map);
    //批量的插入检测标准数据
    void insertTableDataList(List<precisionMeasProjectPojo> pojos);


    //查询检测结果表的某字段为某值的数据,分页查询
    List<precisionMeasResultPojo> queryFourField(Map<String, Object> map);

    //查询检测结果总条数
    Integer queryQuantity(Map<String, Object> map);

    //动态查询检测结果
    List<precisionMeasResultPojo> queryByDynamicConditions(Map<String, Object> map);
    Integer queryCountByDynamicConditions(Map<String, Object> map);

    //编辑某一行测量结果
    void editOneRow(precisionMeasResultPojo precisionMeasResultPojo);

    //根据检测项目查询指定数量的数据
    List<precisionMeasResultPojo> queryByOneField(Map<String, Object> map);


}
